我们正在使用 Cisco C1113-8PLTEEA 路由器测试 LTE 配置。我们已经在称为 DSL 的特定 VRF 中建立了有线互联网连接。据我了解 LTE 备份,我们必须在同一个 VRF 中使用蜂窝接口,以便路由(跟踪对象)从有线连接切换到无线连接。这就是我的问题。一旦我将它放入 vrf,蜂窝就停止工作。让我们来看看工作配置:
controller Cellular 0/2/0
lte sim data-profile 16 attach-profile 2 slot 0
lte modem link-recovery wait-timer 5
profile id 16 apn corporate.provider.ch authentication pap_chap username abc password def
interface Cellular0/2/0
ip address negotiated
dialer in-band
dialer idle-timeout 0
dialer watch-group 2
dialer-group 2
ipv6 enable
pulse-time 1
ip access-list standard 2
10 permit any
dialer-list 2 protocol ip permit
ip route 0.0.0.0 0.0.0.0 Cellular0/2/0
因此,如果我在 Layer3 接口添加 vrf,则连接永远不会出现。这是调整后的配置,我用箭头标记了更改的行。
controller Cellular 0/2/0
lte sim data-profile 16 attach-profile 2 slot 0
lte modem link-recovery wait-timer 5
profile id 16 apn corporate.provider.ch authentication pap_chap username abc password def
interface Cellular0/2/0
ip vrf forwarding DSL <-----------new
ip address negotiated
dialer in-band
dialer idle-timeout 0
dialer watch-group 2
dialer-group 2
ipv6 enable
pulse-time 1
ip access-list standard 2
10 permit any
dialer-list 2 protocol ip permit
ip route vrf DSL 0.0.0.0 0.0.0.0 Cellular0/2/0 <-----------adjusted
我还没有在其他区域找到任何 VRF 命令。我找到的所有手册都不适用于 VRF,所以我有点迷失了。有没有人做过这个?我错过了什么?
这是没有 VRF 的日志输出。我确实有 2 个 IP SLA 可以 ping google 并在连接建立后立即显示。
Oct 26 10:57:11.377: %PARSER-5-CFGLOG_LOGGEDCMD: User:admjos logged command:shutdown
Oct 26 10:57:38.657: %PARSER-5-CFGLOG_LOGGEDCMD: User:admjos logged command:no shutdown
Oct 26 10:57:40.653: %LINK-3-UPDOWN: Interface Cellular0/2/0, changed state to down
Oct 26 10:58:04.586: %LINK-3-UPDOWN: Interface Cellular0/2/0, changed state to up
Oct 26 10:58:05.584: %LINEPROTO-5-UPDOWN: Line protocol on Interface Cellular0/2/0, changed state to up
Oct 26 10:58:08.378: %TRACK-6-STATE: 100 ip sla 100 reachability Down -> Up
Oct 26 10:58:08.378: %TRACK-6-STATE: 200 ip sla 200 reachability Down -> Up
如果我配置 VRF,这里是输出:
Oct 26 10:29:12.180: %PARSER-5-CFGLOG_LOGGEDCMD: User:admjos logged command:no shutdown
Oct 26 10:29:12.954: %SYS-5-CONFIG_I: Configured from console by admjos on vty0 (172.16.225.82)
Oct 26 10:29:14.178: %LINK-3-UPDOWN: Interface Cellular0/2/0, changed state to down
界面基本上只是停留在down状态。