Command Line Reference
IP Unicast Routing
VRF
4 min
vrf show vrf brief \[command] show vrf brief \[purpose] display vrf related configuration information \[view] system view \[use cases] sonic# show vrf brief + + + + \| vrf name | vni | src mac | +============+=======+===========+ \| 100 | | | + + + + \| 101 | | | + + + + \| 200 | 2000 | | + + + + vrf vrfname \[command] vrf vrfname \[purpose] add vrf \[parameter] vrfname vrf name, length 1 11 \[view] system configuration view \[use cases] sonic# configure terminal sonic(config)# vrf 123 ip route a b c d/m a b c d \[command] ip route a b c d/m a b c d \[purpose] add vrf routes \[parameter] a b c d/m ip address a b c d ip address \[view] vrf view \[use cases] sonic# configure terminal sonic(config)# vrf 123 sonic(config vrf)# ip route 10 0 0 0/24 20 0 0 2
